<?php
declare (strict_types=1);

namespace app\common\model;

class Attachment extends CommonBase
{
    public function addAttachment(array $data): bool
    {
        $data['is_delete'] = config('status.mysql.table_normal');
        return (boolean)$this->save($data);
    }
}